package com.tz.system.role.model;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "t_mgt_role_private")
public class TMgtRolePrivate implements java.io.Serializable {

	private Integer id;
	private String roleCode;
	private String menuCode;
	private String creator;
	private Long createTime;
	private String mender;
	private Long mendTime;
	private String remark;

	public TMgtRolePrivate() {
	}

	public TMgtRolePrivate(Integer id, String roleCode, String menuCode) {
		this.id = id;
		this.roleCode = roleCode;
		this.menuCode = menuCode;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "ROLE_CODE", nullable = false)
	public String getRoleCode() {
		return this.roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	@Column(name = "MENU_CODE", nullable = false)
	public String getMenuCode() {
		return this.menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	@Column(name = "CREATOR")
	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Column(name = "CREATE_TIME")
	public Long getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Column(name = "MENDER")
	public String getMender() {
		return this.mender;
	}

	public void setMender(String mender) {
		this.mender = mender;
	}

	@Column(name = "MEND_TIME")
	public Long getMendTime() {
		return this.mendTime;
	}

	public void setMendTime(Long mendTime) {
		this.mendTime = mendTime;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
